package com.panshi.api;

import com.panshi.vo.qa.QuestionAudit;
import com.panshi.vo.qa.ReplyAudit;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "rabbitmq-server")
public interface IRabbitMQApi {

    @GetMapping("/rabbitmq/questionAudit/send")
    @ResponseBody
    boolean sendQuestionAudit(@RequestParam QuestionAudit questionAudit) ;

    @GetMapping("/rabbitmq/replyAudit/send")
    @ResponseBody
    boolean sendReplyAudit(@RequestParam ReplyAudit replyAudit) ;

}
